<template>
  <menus-button ico="image" :text="t('insert.image')" huge
    @menu-click="editor?.chain().focus().selectFiles('image', true).run()" />
</template>

<script setup lang="ts">
const { editor } = useStore()
</script>
